/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.juhe.usedcar;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 聚合二手车接口车辆型号年份数据Entity
 * @author 丁光彪
 * @version 2017-01-06
 */
public class JuheUsedcarModelYear extends DataEntity<JuheUsedcarModelYear> {
	
	private static final long serialVersionUID = 1L;
	protected String modelId;		// 车型id
	protected String year;		// 可选的购买年份列表
	
	public JuheUsedcarModelYear() {
		super();
	}

	public JuheUsedcarModelYear(String id){
		super(id);
	}

	@Length(min=0, max=64, message="车型id长度必须介于 0 和 64 之间")
	public String getModelId() {
		return modelId;
	}

	public void setModelId(String modelId) {
		this.modelId = modelId;
	}
	
	@Length(min=0, max=255, message="可选的购买年份列表长度必须介于 0 和 255 之间")
	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
}